package com.bhdx.blog.service;

import com.bhdx.blog.entity.Blogger;

/**
 * @author bhdx
 * @date 2020/6/16-15:17
 */

public interface BloggerService {
    /**
     * 查询博主信息
     * @return
     */
    Blogger getBloggerData();


    /**
     * 更新博主信息
     * @param blogger
     * @return
     */
    Integer updateBlogger(Blogger blogger);

    /**
     * 登录用户查询
     * @param username
     * @return
     */
    Blogger getByUsername(String username);
}

